package com.example.win.android_banduyujia.peopleactivity.activity.activity.settingsactivity;

import android.os.Bundle;
import android.webkit.WebView;

import com.example.win.android_banduyujia.R;
import com.example.win.android_banduyujia.peopleactivity.ui.activity.BaseTitleBarActivity;
import com.example.win.android_banduyujia.peopleactivity.ui.pulltorefresh.MyListener;
import com.example.win.android_banduyujia.peopleactivity.ui.pulltorefresh.PullToRefreshLayout;

/**
 * Created by Win on 2015/8/21.
 */
public class AboutActivity extends BaseTitleBarActivity {

    private   WebView  mAbouts;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
          setContentView(R.layout.layout_web_view);

        ((PullToRefreshLayout)findViewById(R.id.refresh_view)).setOnRefreshListener(new MyListener());
        mAbouts = (WebView) findViewById(R.id.layout_web_view);
        mAbouts.loadUrl("http://weixin.binduyoga.cn/index.php?route=weixin/aboutus/index");

        InitTitles();
    }

    private void InitTitles() {
        setTitle(R.string.layout_info_activity_about);
        showLeftBackButton();
    }
}
